OpenFolderCallback

public interface OpenFolderCallback implements BrowserAsyncCallback<P, R>

This callback is invoked when the browser requests to display a file chooser dialog to open a folder. You can use this callback to display the folder chooser dialog, or provide the chosen files without displaying any dialogs.

Use the open (File)} method to provide the selected folder to the browser.

Use the cancel method to cancel the dialog.

If the callback throws an exception, the cancel method will be invoked.

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the OpenFolderCallback.
Link copied to clipboard
public interface Params
The parameters of the OpenFolderCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.